import store from '@/store'
import { throttle } from 'lodash';    
export function saveStore(){
    sessionStorage.setItem("store",JSON.stringify(store.state))
}

export function throttleScroll(callback, limit = 100) {  
    return throttle(function () {  
        callback.apply(this, arguments);  
    }, limit);  
}  
